// Loggr::Tools::Strings
// Tools make Loggr be more autonomous.
// By George Ulyanov (c) 2010

#ifndef LOGGR_TOOLS_STRINGS_H_
#define LOGGR_TOOLS_STRINGS_H_

#include <string>

namespace Loggr
{
    namespace Tools
    {
        /**
        *   @brief Convert a multi-byte string into wide-char string.
        *   @param mbStr - multi-byte string.
        *   @param wStr - wide-char string.
        */
        void MB2W(const std::string& mbStr, std::wstring& wStr);

        /**
        *   @brief Convert a wide-char string into multi-byte string.
        *   @param wStr - wide-char string.
        *   @param mbStr - multi-byte string.
        */
        void W2MB(const std::wstring& wStr, std::string& mbStr);
    }
    // namespace Tools
}
// namespace Loggr

#endif // LOGGR_TOOLS_STRINGS_H_
